//  EarnMoney_VC.m
//  XJMTechnician
//  Created by 洗脚么_one on 2017/11/14.
//  Copyright © 2017年 Mr.hu. All rights reserved.

#import "EarnMoney_VC.h"
#import <WebKit/WebKit.h>

@interface EarnMoney_VC ()<WKUIDelegate,WKNavigationDelegate>
/** 注释 **/
@property (strong, nonatomic) WKWebView * webViwe;

@end

@implementation EarnMoney_VC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self.navigationController setNavigationBarHidden:NO];
    [self addLeftBtn:[UIImage imageNamed:@"fanhui"] Action:@selector(backToPrevious)];
    self.title = @"赚钱攻略";
    
    self.webViwe = [[WKWebView alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight-44)];
    self.webViwe.navigationDelegate =self;
    NSURLRequest * request =[[NSURLRequest alloc]initWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://api.xijiaomo.com/tech.php/help/money"]]];
    [self.webViwe loadRequest:request];
    [self.view addSubview:self.webViwe];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
